package com.tiger.bmpeb.sample65;

import java.io.Serializable;

public class CustomerID implements Serializable {

	private static final long serialVersionUID = 1L;

	private int customerID;

	public CustomerID() {

	}

	public CustomerID(int customerID) {
		this.customerID = customerID;
	}

	public int getCustomerID() {
		return customerID;
	}

	public void setCustomerID(int customerID) {
		this.customerID = customerID;
	}

	public int hashCode() {
		return customerID;
	}

	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}
		if (obj instanceof CustomerID) {
			CustomerID cid = (CustomerID) obj;
			return cid.customerID == this.customerID;
		}

		return false;
	}
}
